package com.cold.legendary.bprocess.test.demo.def.process;

import com.cold.legendary.bprocess.context.annotation.BProcess;
import com.cold.legendary.bprocess.definition.process.BProcessDefinition;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @author cold
 * @since 2023/4/6
 */
@Service
@BProcess(processId = "demoProcessDefinition", processName = "样例流程定义")
public class DemoProcessDefinition implements BProcessDefinition {

    @Override
    public List<String> definePoints() {
        List<String> points = new ArrayList<>();
        points.add("myBusinessPointOne");
        points.add("myBusinessPointTwo");
        points.add("myBusinessPointOne");
        points.add("myBusinessPointOne");
        points.add("myBusinessPointOne");
        points.add("myBusinessPointOne");
        points.add("myBusinessPointOne");
        points.add("myBusinessPointOne");
        points.add("myBusinessPointTwo");
        return points;
    }
}
